import _axios from "@/utils/axios";

// 登录
export const login = (data: any) => _axios.post("/api/login", data);

// 注册
export const register = (data: any) => _axios.post("/api/registry", data);

// 重置密码
export const resetPwd = (username: string) => _axios.get("/api/resetPwd", { data: username });